import Layout from '@/layout'

const router = [{
    path: '/zhcx',
    component: Layout,
    redirect: '/zhcx/brjbywcx/list',
    name: '综合查询',
    meta: {
      menusMode: 0,
      title: '综合查询',
      icon: 'list',
      roles: ["农村建设用地复垦"]
    },
    children: [{
        path: 'brjbywcx',
        name: '本人经办业务查询',
        component: () =>
          import('@/views/tongji/zhcx/brjbywcx/index'),
        redirect: '/zhcx/brjbywcx/list',
        meta: {
          menusMode: 0,
          title: '本人经办业务查询',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhcx/brjbywcx/list/index'),
          name: '本人经办业务查询列表',
          meta: {
            menusMode: 0,
            title: '本人经办业务查询',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'syywcx',
        name: '所有业务查询',
        component: () =>
          import('@/views/tongji/zhcx/syywcx/index'),
        redirect: '/zhcx/syywcx/list',
        meta: {
          menusMode: 0,
          title: '所有业务查询',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhcx/syywcx/list/index'),
          name: '所有业务查询列表',
          meta: {
            menusMode: 0,
            title: '所有业务查询',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'gtzhzzjdkcx',
        name: '国土综合整治阶段库查询',
        component: () =>
          import('@/views/tongji/zhcx/gtzhzzjdkcx/index'),
        redirect: '/zhcx/gtzhzzjdkcx/list',
        meta: {
          menusMode: 0,
          title: '国土综合整治阶段库查询',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhcx/gtzhzzjdkcx/list/index'),
          name: '国土综合整治阶段库查询列表',
          meta: {
            menusMode: 0,
            title: '国土综合整治阶段库查询',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'ncjsyfkjdkcx',
        name: '农村土地建设用地复垦阶段库查询',
        component: () =>
          import('@/views/tongji/zhcx/ncjsyfkjdkcx/index'),
        redirect: '/zhcx/ncjsyfkjdkcx/sqyssxx',
        meta: {
          menusMode: 0,
          title: '农村土地建设用地复垦阶段库查询',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhcx/ncjsyfkjdkcx/list/index'),
          name: '农村土地建设用地复垦阶段库查询列表',
          meta: {
            menusMode: 0,
            title: '农村土地建设用地复垦阶段库查询',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
          hidden: true
        }, {
          path: "sqyssxx",
          component: () => import("@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/index"),
          name: "农村土地建设用地复垦阶段库查询-申请与审核信息",
          redirect: "/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/list",
          meta: {
            menusMode: 0,
            title: "申请与审核信息",
            roles: ["农村建设用地复垦"]
          },
          children: [{
              hidden: true,
              path: "personApplyCheck",
              component: () =>
                import("@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/index"),
              name: "农村土地建设用地复垦阶段库查询-申请与审核信息-个人入口",
              redirect: "/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/list",
              meta: {
                menusMode: 0,
                title: "申请与审核信息",
                breadcrumb: false,
                roles: ["农村建设用地复垦"]
              },
              children: [{
                  path: "list",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/list/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-个人",
                  meta: {
                    menusMode: 0,
                    title: "申请与审核信息",
                    breadcrumb: false,
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
                {
                  path: "applyDetail",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/applyDetail/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-个人申请详情",
                  meta: {
                    menusMode: 0,
                    title: "个人申请详情",
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
                {
                  path: "checkDetail",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/personApplyCheck/checkDetail/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-个人审核详情",
                  meta: {
                    menusMode: 0,
                    title: "个人审核详情",
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
              ]
            },
            {
              hidden: true,
              path: "groupApplyCheck",
              name: "农村土地建设用地复垦阶段库查询-申请与审核信息-集体入口",
              redirect: "/ncjsyfkjdkcx/groupApplyCheck/list",
              component: () =>
                import("@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/groupApplyCheck/index"),
              meta: {
                menusMode: 0,
                title: "申请与审核信息",
                breadcrumb: false,
                roles: ["农村建设用地复垦"]
              },
              children: [{
                  path: "list",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/groupApplyCheck/list/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-集体",
                  meta: {
                    menusMode: 0,
                    title: "申请与审核信息",
                    breadcrumb: false,
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
                {
                  path: "applyDetail",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/groupApplyCheck/applyDetail/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-集体申请详情",
                  meta: {
                    menusMode: 0,
                    title: "集体申请详情",
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
                {
                  path: "checkDetail",
                  component: () =>
                    import(
                      "@/views/tongji/zhcx/ncjsyfkjdkcx/sqyssxx/groupApplyCheck/checkDetail/index"
                    ),
                  name: "农村土地建设用地复垦阶段库查询-申请与审核信息-集体审核详情",
                  meta: {
                    menusMode: 0,
                    title: "集体审核详情",
                    roles: ["农村建设用地复垦"]
                  },
                  hidden: true
                },
              ]
            }
          ]
        }, ]
      },
    ]
  },
  {
    path: '/zhtj',
    component: Layout,
    redirect: '/zhtj/xmjdqktj/list',
    name: '综合统计',
    meta: {
      menusMode: 0,
      title: '综合统计',
      icon: 'list',
      roles: ["农村建设用地复垦"]
    },
    children: [{
        path: 'xmjdqktj',
        name: '项目进度情况统计',
        component: () =>
          import('@/views/tongji/zhtj/xmjdqktj/index'),
        redirect: '/zhtj/xmjdqktj/list',
        meta: {
          menusMode: 0,
          title: '项目进度情况统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhtj/xmjdqktj/list/index'),
          name: '项目进度情况统计列表',
          meta: {
            menusMode: 0,
            title: '项目进度情况统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'xmfltj',
        name: '项目分类统计',
        component: () =>
          import('@/views/tongji/zhtj/xmfltj/index'),
        redirect: '/zhtj/xmfltj/list',
        meta: {
          menusMode: 0,
          title: '项目分类统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhtj/xmfltj/list/index'),
          name: '项目分类统计列表',
          meta: {
            menusMode: 0,
            title: '项目分类统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'xmrkbatj',
        name: '项目入库备案统计',
        component: () =>
          import('@/views/tongji/zhtj/xmrkbatj/index'),
        redirect: '/zhtj/xmrkbatj/list',
        meta: {
          menusMode: 0,
          title: '项目入库备案统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhtj/xmrkbatj/list/index'),
          name: '项目入库备案统计列表',
          meta: {
            menusMode: 0,
            title: '项目入库备案统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'xmjgystj',
        name: '项目竣工验收统计',
        component: () =>
          import('@/views/tongji/zhtj/xmjgystj/index'),
        redirect: '/zhtj/xmjgystj/list',
        meta: {
          menusMode: 0,
          title: '项目竣工验收统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zhtj/xmjgystj/list/index'),
          name: '项目竣工验收统计列表',
          meta: {
            menusMode: 0,
            title: '项目竣工验收统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
    ]
  },
  {
    path: '/zxtj',
    component: Layout,
    redirect: '/zxtj/jkpkhfkxmzxtj/list',
    name: '专项统计',
    meta: {
      menusMode: 0,
      title: '专项统计',
      icon: 'list',
      roles: ["农村建设用地复垦"]
    },
    children: [{
        path: 'jkpkhfkxmzxtj',
        name: '建卡贫困户复垦项目专项统计',
        component: () =>
          import('@/views/tongji/zxtj/jkpkhfkxmzxtj/index'),
        redirect: '/zxtj/jkpkhfkxmzxtj/list',
        meta: {
          menusMode: 0,
          title: '建卡贫困户复垦项目专项统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zxtj/jkpkhfkxmzxtj/list/index'),
          name: '建卡贫困户复垦项目专项统计列表',
          meta: {
            menusMode: 0,
            title: '建卡贫困户复垦项目专项统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
      {
        path: 'sdpkxzfkxmzxtj',
        name: '深度贫困乡镇复垦项目专项统计',
        component: () =>
          import('@/views/tongji/zxtj/sdpkxzfkxmzxtj/index'),
        redirect: '/zxtj/sdpkxzfkxmzxtj/list',
        meta: {
          menusMode: 0,
          title: '深度贫困乡镇复垦项目专项统计',
          roles: ["农村建设用地复垦"]
        },
        children: [{
          path: 'list',
          component: () =>
            import('@/views/tongji/zxtj/sdpkxzfkxmzxtj/list/index'),
          name: '深度贫困乡镇复垦项目专项统计列表',
          meta: {
            menusMode: 0,
            title: '深度贫困乡镇复垦项目专项统计',
            breadcrumb: false,
            roles: ["农村建设用地复垦"]
          },
        }, ]
      },
    ]
  },
]
export default router
